package com.xxc.infrastructure.persistent.dao;


import com.xxc.infrastructure.persistent.po.StrategyAward;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: xxc
 * @Description: 抽奖策略奖品明细配置 - 包括：概率、规则 DAO
 * @Date: 2025/1/18 22:51
 * @Version: 1.0
 */
@Mapper
public interface IStrategyAwardDao {

    List<StrategyAward> queryStrategyAwardListByStrategyId(Long strategyId);

    String queryStrategyAwardRuleModels(StrategyAward strategyAward);

    void updateStrategyAwardStock(StrategyAward strategyAward);

    StrategyAward queryStrategyAward(StrategyAward strategyAwardReq);
}
